package logger

import (
	"fmt"
	"time"
)

// Info 打印信息
func Info(format string, a ...any) {
	fmt.Printf("[%s] INFO : %s\n", time.Now().Format("2006-01-02 15:04:05.000"), fmt.Sprintf(format, a...))
}

// Error 打印错误
func Error(format string, a ...any) {
	fmt.Printf("[%s] ERROR: %s\n", time.Now().Format("2006-01-02 15:04:05.000"), fmt.Sprintf(format, a...))
}
